#include <stdio.h>
#include <readconf.h>


int main(int argc, const char **argv) {
	struct readconf_uintconf *conf;

	readconf_init();

	if (!(conf = readconf_find_uintname("foo"))) {
		printf("foo not defined. \n");

		return 1;
	}

	printf("foo (4) is %ld. \n", conf->conf_value);

	return 0;
}
